
<div id="header" class="header">
    <div class="container">
        <div class="header-left fl">
            <div class="logo fl">
              <a title="梧桐珆设计社区" href="http://www.wttai.com">梧桐珆</a>
            </div>

            <div class="menu fl" style="display: block;">
                <ul class="clear nav_ul">
                    <!-- <if condition="$_member['headimg'] eq '' ">
                    <li><a href="http://www.wttai.com/index/index.html">首页</a></li>
                    </if>
                    <li><a href="http://www.wttai.com/discovery/discovery.html">发现</a></li>
                    <li><a href="http://www.wttai.com/designer-list/list.html">设计师</a></li>
                    <li><a href="http://www.wttai.com/buyer/list.html">买手达人</a></li>
                    <li><a href="http://huodong.wttai.com">活动</a></li>
                    <li><a href="http://www.wttai.com/information-list/list.html">资讯</a></li>
                    <li><a href="http://www.wttai.com/service-list/list/全部.html">服务</a></li>
                    <li><a href="http://mall.wttai.com/" target="_blank">原创商城</a></li>
                    <li><a href="http://www.wttai.com/company/partner.html">梦想合伙人</a></li>
                    <li><a href="http://www.wttai.com/events-list/detail/101.html">合作联营</a></li> -->
                    <volist name='header' id="info">
                        <li class="nav_li">
                            <a class="nav_a <eq name='info.title' value='产品服务'>active</eq> <?php if (!empty($info['class'])): ?>has_class<?php endif; ?>" href="{$info.url}"  target="<eq name='info.target' value='1'>_blank<else/>_self</eq>">{$info.title}</a>
                            <?php if (!empty($info['class'])): ?>
                            <div class="user-list">
                                    <i class="dorp-icon"></i>
                                    <ul class="my-list">
                                    <volist name="info['class']" id='son'>                                
                                        <li><a href="{$son.url}"  target="<eq name='son.target' value='1'>_blank<else/>_self</eq>">{$son.title}</a></li>                                
                                    </volist>
                                    </ul>
                                </div>
                            <?php endif; ?>
                        </li>
                    </volist>


                </ul>
            </div>
        </div>
         <div class="header-right fr">
            <div class="login-box">
                <if condition="$_member['headimg'] eq '' ">
                    <div class="login-out login-ing fr" style="padding-left: 12px;">登录</div>
                    <div class="login-out fr" ><a href="{:C('SHEQU_DOMAIN')}/member/register.html" target="_blank">注册</a></div>
                    <style>
                        .login-out{display: inline-block;height: 80px;line-height: 80px;font-size: 16px;padding: 0 8px;margin: 0 8px;cursor: pointer}
                        .login-out:hover{color:#FFBB17}
                    </style>
                <else />
                <!-- 发布作品 -->
                <div id="J_upArt" class="hd-up fl">
                    <a href="{:C('SHEQU_DOMAIN')}/works/publish.html" class="up-icon"><i class="iconfont">&#xe60a;</i></a>
                </div>
                
                <!-- 用户中心 -->
                <div id="J_userInfo" class="hd-user fl">
                    <!-- 用户头像 -->
                        <a class="user-icon"><!--  href="{:C('SHEQU_DOMAIN')}/designer/works.html" -->
                        <img src="{$_member['headimg']}" onerror="javascript:this.src='http://statics.wttai.com/debug/img/avatar/1.jpg';" alt="" height="50" width="50">
                    </a>
                    <div class="user-list">
                        <div class="dorp-box clear">
                            <i class="dorp-icon"></i>
                            <div class="verified">
                                <a href="{:C('SHEQU_DOMAIN')}/designer/auth/{$_member['memberId']}.html">认证设计师</a>
                            </div>
                            <ul class="my-list">
                                <li><a href="{:C('SHEQU_DOMAIN')}/designer/works/{$_member['memberId']}.html">我的梧桐</a></li>
                                <li><a href="{:C('SHEQU_DOMAIN')}/index/index.html">我的关注</a></li>
                                <li><a href="{:U('Index/alls')}">我的活动</a></li>
                                <li><a href="{:C('SHEQU_DOMAIN')}/member/setting/{$_member['memberId']}.html">我的设置</a></li>
                            </ul>
                            <div class="">
                                <a href="{:U('My/loginout')}">退出登录</a>
                            </div>
                         </div>
                    </div>
                </div>
               </if>
            </div>
        </div>
    </div>
</div>
